Related Vulnerabilities: CVE-2021-3446  

The commonly used integration of libtpms before version 0.8.2 with OpenSSL contained a vulnerability related to the returned IV (initialization vector) when certain symmetric ciphers were used. Instead of returning the last IV it returned the initial IV to the caller. The fix for this required the copying of the last-used IV from OpenSSL so it can be return back to the caller and used in subsequent encryption and decryption steps. The side-effect of the fix is that previously chain-encrypted data will not be decryptable anymore with the TPM 2.

Severity High

Remote No

Type Incorrect calculation

Description

The commonly used integration of libtpms before version 0.8.2 with OpenSSL contained a vulnerability related to the returned IV (initialization vector) when certain symmetric ciphers were used. Instead of returning the last IV it returned the initial IV to the caller. The fix for this required the copying of the last-used IV from OpenSSL so it can be return back to the caller and used in subsequent encryption and decryption steps. The side-effect of the fix is that previously chain-encrypted data will not be decryptable anymore with the TPM 2.

AVG-1700 libtpms 0.8.1-1 0.8.2-1 High Fixed

https://bugzilla.redhat.com/show_bug.cgi?id=1939664
https://github.com/stefanberger/libtpms/pull/202
https://github.com/stefanberger/libtpms/commit/5a2f196842d9da43c65fd4a533ff348af684939f